package com.ushine.design.design.c_behavioral_pattern.b_command.b_example;

public class ExitCommand extends Command {
    private SystemExitClass exitClass;

    public ExitCommand() {
        exitClass = new SystemExitClass();
    }

    @Override
    public void execute() {
        exitClass.exit();
    }

}
